package com.sunshine.ssm.test.spring.hellobean;

/**
 * @Description: 静态工厂
 * @author: Hong.Wei
 * @Date: 2016/12/28 15:13
 */
public class HelloApiStaticFactory {
    /**
     * 工厂方法
     * @param message
     * @return
     */
    public static HelloApi newInstance(String message) {
        return new HelloApiImpl(message);
    }
}
